home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1983-03-14 | 11.6 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Mar 14 08:47:11 1983, modified Mon Mar 14 08:47:11 1983, creator 'CWIE', type ASCII, 11255 bytes "ClockUtils.c" , at 0x2c77 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 43 6c 6f 63 6b 55 | 74 69 6c 73 2e 63 00 00 |..ClockU|tils.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 2b f7 00 | 00 01 9a 94 f8 f0 5f 94 |.....+..|......_.|
|00000060| f8 f0 5f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.._.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4f cb 00 00 |........|....O...|
|00000080| 2f 2f 09 43 6c 6f 63 6b | 55 74 69 6c 73 0d 2f 2f |//.Clock|Utils.//|
|00000090| 09 a9 31 39 39 36 20 53 | 74 75 61 72 74 20 53 6e |..1996 S|tuart Sn|
|000000a0| 61 64 64 6f 6e 0d 2f 2f | 0d 2f 2f 09 54 68 69 73 |addon.//|.//.This|
|000000b0| 20 75 6e 69 74 20 68 61 | 6e 64 6c 65 73 20 73 74 | unit ha|ndles st|
|000000c0| 75 66 66 20 74 6f 20 64 | 6f 20 77 69 74 68 20 74 |uff to d|o with t|
|000000d0| 68 65 43 6c 6f 63 6b 2e | 0d 2f 2f 0d 2f 2f 09 44 |heClock.|.//.//.D|
|000000e0| 4f 20 4e 4f 54 20 43 4f | 4d 50 49 4c 45 20 41 53 |O NOT CO|MPILE AS|
|000000f0| 20 50 50 43 20 4e 41 54 | 49 56 45 20 2d 20 50 41 | PPC NAT|IVE - PA|
|00000100| 53 43 41 4c 20 43 41 4c | 4c 42 41 43 4b 20 28 44 |SCAL CAL|LBACK (D|
|00000110| 72 61 77 43 6c 6f 63 6b | 42 6f 78 29 20 57 49 4c |rawClock|Box) WIL|
|00000120| 4c 20 43 41 55 53 45 20 | 48 41 56 4f 43 21 21 21 |L CAUSE |HAVOC!!!|
|00000130| 0d 2f 2f 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 46 |.//..#in|clude "F|
|00000140| 6c 6f 61 74 65 72 55 74 | 69 6c 73 2e 68 22 0d 23 |loaterUt|ils.h".#|
|00000150| 69 6e 63 6c 75 64 65 20 | 22 47 72 61 70 68 69 63 |include |"Graphic|
|00000160| 61 6c 55 74 69 6c 73 2e | 68 22 0d 23 69 6e 63 6c |alUtils.|h".#incl|
|00000170| 75 64 65 20 22 44 69 61 | 6c 6f 67 55 74 69 6c 73 |ude "Dia|logUtils|
|00000180| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 45 76 |.h".#inc|lude "Ev|
|00000190| 65 6e 74 55 74 69 6c 73 | 2e 68 22 0d 23 69 6e 63 |entUtils|.h".#inc|
|000001a0| 6c 75 64 65 20 22 43 6c | 6f 63 6b 55 74 69 6c 73 |lude "Cl|ockUtils|
|000001b0| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 49 63 |.h".#inc|lude "Ic|
|000001c0| 6f 6e 42 61 72 55 74 69 | 6c 73 2e 68 22 0d 0d 23 |onBarUti|ls.h"..#|
|000001d0| 64 65 66 69 6e 65 20 64 | 69 61 6c 6f 67 49 44 20 |define d|ialogID |
|000001e0| 3d 20 31 33 34 0d 0d 74 | 79 70 65 64 65 66 20 73 |= 134..t|ypedef s|
|000001f0| 74 72 75 63 74 20 7b 0d | 09 63 68 61 72 09 09 73 |truct {.|.char..s|
|00000200| 74 61 72 74 65 64 3b 0d | 09 63 68 61 72 09 09 66 |tarted;.|.char..f|
|00000210| 69 6c 6c 65 72 3b 0d 09 | 6c 6f 6e 67 09 09 73 74 |iller;..|long..st|
|00000220| 61 72 74 54 69 63 6b 73 | 3b 0d 09 7d 20 57 61 74 |artTicks|;..} Wat|
|00000230| 63 68 2c 20 2a 57 61 74 | 63 68 50 74 72 2c 20 2a |ch, *Wat|chPtr, *|
|00000240| 2a 57 61 74 63 68 48 61 | 6e 64 6c 65 3b 0d 09 0d |*WatchHa|ndle;...|
|00000250| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 7b |typedef |struct {|
|00000260| 0d 09 63 68 61 72 09 09 | 73 74 61 72 74 65 64 3b |..char..|started;|
|00000270| 0d 09 63 68 61 72 09 09 | 66 69 6c 6c 65 72 3b 0d |..char..|filler;.|
|00000280| 09 6c 6f 6e 67 09 09 73 | 74 61 72 74 54 69 63 6b |.long..s|tartTick|
|00000290| 73 3b 0d 09 6c 6f 6e 67 | 09 09 63 6f 75 6e 74 44 |s;..long|..countD|
|000002a0| 6f 77 6e 3b 0d 09 7d 20 | 54 69 6d 65 72 52 65 63 |own;..} |TimerRec|
|000002b0| 2c 20 2a 54 69 6d 65 72 | 50 74 72 2c 20 2a 2a 54 |, *Timer|Ptr, **T|
|000002c0| 69 6d 65 72 48 61 6e 64 | 6c 65 3b 0d 09 0d 74 79 |imerHand|le;...ty|
|000002d0| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 7b 0d 09 |pedef st|ruct {..|
|000002e0| 63 68 61 72 09 09 68 72 | 32 34 3b 0d 09 63 68 61 |char..hr|24;..cha|
|000002f0| 72 09 09 66 69 6c 6c 65 | 72 30 3b 0d 09 63 68 61 |r..fille|r0;..cha|
|00000300| 72 09 09 73 68 6f 77 53 | 65 63 73 3b 0d 09 63 68 |r..showS|ecs;..ch|
|00000310| 61 72 09 09 66 69 6c 6c | 65 72 31 3b 0d 09 63 68 |ar..fill|er1;..ch|
|00000320| 61 72 09 09 7a 6f 6f 6d | 65 64 3b 0d 09 63 68 61 |ar..zoom|ed;..cha|
|00000330| 72 09 09 66 69 6c 6c 65 | 72 32 3b 0d 09 52 65 63 |r..fille|r2;..Rec|
|00000340| 74 09 09 62 6f 75 6e 64 | 73 3b 0d 09 54 69 6d 65 |t..bound|s;..Time|
|00000350| 72 52 65 63 09 74 69 6d | 65 72 3b 0d 09 7d 20 43 |rRec.tim|er;..} C|
|00000360| 6c 6f 63 6b 50 72 65 66 | 2c 20 2a 43 6c 6f 63 6b |lockPref|, *Clock|
|00000370| 50 72 65 66 50 74 72 2c | 20 2a 2a 43 6c 6f 63 6b |PrefPtr,| **Clock|
|00000380| 50 72 65 66 48 64 6c 3b | 0d 09 0d 44 69 61 6c 6f |PrefHdl;|...Dialo|
|00000390| 67 50 74 72 09 09 74 68 | 65 44 69 61 6c 6f 67 3b |gPtr..th|eDialog;|
|000003a0| 0d 63 68 61 72 09 09 09 | 74 77 65 6e 74 79 46 6f |.char...|twentyFo|
|000003b0| 75 72 2c 20 73 68 6f 77 | 53 65 63 73 2c 20 7a 6f |ur, show|Secs, zo|
|000003c0| 6f 6d 65 64 3b 0d 73 68 | 6f 72 74 09 09 73 61 76 |omed;.sh|ort..sav|
|000003d0| 65 48 65 69 67 68 74 2c | 73 61 76 65 57 69 64 74 |eHeight,|saveWidt|
|000003e0| 68 2c 6d 6f 64 65 3b 0d | 53 74 72 32 35 35 09 09 |h,mode;.|Str255..|
|000003f0| 73 61 76 65 53 74 72 69 | 6e 67 2c 20 74 68 65 44 |saveStri|ng, theD|
|00000400| 69 73 70 6c 61 79 3b 0d | 57 61 74 63 68 09 09 73 |isplay;.|Watch..s|
|00000410| 74 6f 70 77 61 74 63 68 | 3b 0d 54 69 6d 65 72 52 |topwatch|;.TimerR|
|00000420| 65 63 09 09 74 69 6d 65 | 72 3b 0d 0d 2f 2f 20 2a |ec..time|r;..// *|
|00000430| 2a 0d 0d 76 6f 69 64 20 | 53 74 61 72 74 53 74 6f |*..void |StartSto|
|00000440| 70 77 61 74 63 68 28 76 | 6f 69 64 29 3b 0d 76 6f |pwatch(v|oid);.vo|
|00000450| 69 64 20 52 65 73 65 74 | 53 74 6f 70 77 61 74 63 |id Reset|Stopwatc|
|00000460| 68 28 76 6f 69 64 29 3b | 0d 76 6f 69 64 20 53 74 |h(void);|.void St|
|00000470| 61 72 74 43 6f 75 6e 74 | 64 6f 77 6e 28 76 6f 69 |artCount|down(voi|
|00000480| 64 29 3b 0d 76 6f 69 64 | 20 52 65 73 65 74 43 6f |d);.void| ResetCo|
|00000490| 75 6e 74 64 6f 77 6e 28 | 76 6f 69 64 29 3b 0d 76 |untdown(|void);.v|
|000004a0| 6f 69 64 20 43 6c 6f 63 | 6b 5a 6f 6f 6d 28 76 6f |oid Cloc|kZoom(vo|
|000004b0| 69 64 29 3b 0d 76 6f 69 | 64 20 54 69 63 6b 73 54 |id);.voi|d TicksT|
|000004c0| 6f 53 74 72 69 6e 67 28 | 6c 6f 6e 67 20 72 61 77 |oString(|long raw|
|000004d0| 53 65 63 73 29 3b 0d 76 | 6f 69 64 20 43 6c 6f 63 |Secs);.v|oid Cloc|
|000004e0| 6b 47 65 74 44 69 73 70 | 6c 61 79 28 76 6f 69 64 |kGetDisp|lay(void|
|000004f0| 29 3b 0d 76 6f 69 64 20 | 44 72 61 77 44 69 67 69 |);.void |DrawDigi|
|00000500| 74 61 6c 53 74 72 69 6e | 67 28 53 74 72 32 35 35 |talStrin|g(Str255|
|00000510| 20 74 68 65 53 74 72 69 | 6e 67 29 3b 0d 70 61 73 | theStri|ng);.pas|
|00000520| 63 61 6c 20 76 6f 69 64 | 20 44 72 61 77 43 6c 6f |cal void| DrawClo|
|00000530| 63 6b 42 6f 78 28 44 69 | 61 6c 6f 67 50 74 72 20 |ckBox(Di|alogPtr |
|00000540| 74 68 65 44 69 61 6c 6f | 67 2c 20 73 68 6f 72 74 |theDialo|g, short|
|00000550| 20 74 68 65 49 74 65 6d | 29 3b 0d 0d 76 6f 69 64 | theItem|);..void|
|00000560| 20 53 74 61 72 74 53 74 | 6f 70 77 61 74 63 68 28 | StartSt|opwatch(|
|00000570| 76 6f 69 64 29 0d 09 7b | 0d 09 65 78 74 65 72 6e |void)..{|..extern|
|00000580| 20 57 61 74 63 68 20 73 | 74 6f 70 77 61 74 63 68 | Watch s|topwatch|
|00000590| 3b 0d 09 0d 09 73 74 6f | 70 77 61 74 63 68 2e 73 |;....sto|pwatch.s|
|000005a0| 74 61 72 74 54 69 63 6b | 73 20 3d 20 28 54 69 63 |tartTick|s = (Tic|
|000005b0| 6b 43 6f 75 6e 74 28 29 | 20 2d 20 73 74 6f 70 77 |kCount()| - stopw|
|000005c0| 61 74 63 68 2e 73 74 61 | 72 74 54 69 63 6b 73 29 |atch.sta|rtTicks)|
|000005d0| 3b 0d 09 73 74 6f 70 77 | 61 74 63 68 2e 73 74 61 |;..stopw|atch.sta|
|000005e0| 72 74 65 64 20 3d 20 21 | 73 74 6f 70 77 61 74 63 |rted = !|stopwatc|
|000005f0| 68 2e 73 74 61 72 74 65 | 64 3b 0d 09 7d 0d 09 0d |h.starte|d;..}...|
|00000600| 76 6f 69 64 20 52 65 73 | 65 74 53 74 6f 70 77 61 |void Res|etStopwa|
|00000610| 74 63 68 28 76 6f 69 64 | 29 0d 09 7b 0d 09 65 78 |tch(void|)..{..ex|
|00000620| 74 65 72 6e 20 57 61 74 | 63 68 20 73 74 6f 70 77 |tern Wat|ch stopw|
|00000630| 61 74 63 68 3b 0d 09 0d | 09 69 66 20 28 73 74 6f |atch;...|.if (sto|
|00000640| 70 77 61 74 63 68 2e 73 | 74 61 72 74 65 64 29 20 |pwatch.s|tarted) |
|00000650| 0d 09 09 73 74 6f 70 77 | 61 74 63 68 2e 73 74 61 |...stopw|atch.sta|
|00000660| 72 74 54 69 63 6b 73 20 | 3d 20 54 69 63 6b 43 6f |rtTicks |= TickCo|
|00000670| 75 6e 74 28 29 3b 0d 09 | 65 6c 73 65 0d 09 09 73 |unt();..|else...s|
|00000680| 74 6f 70 77 61 74 63 68 | 2e 73 74 61 72 74 54 69 |topwatch|.startTi|
|00000690| 63 6b 73 20 3d 20 30 3b | 0d 09 7d 0d 09 0d 76 6f |cks = 0;|..}...vo|
|000006a0| 69 64 20 53 74 61 72 74 | 43 6f 75 6e 74 64 6f 77 |id Start|Countdow|
|000006b0| 6e 28 76 6f 69 64 29 0d | 09 7b 0d 09 65 78 74 65 |n(void).|.{..exte|
|000006c0| 72 6e 20 54 69 6d 65 72 | 52 65 63 20 74 69 6d 65 |rn Timer|Rec time|
|000006d0| 72 3b 0d 09 0d 09 74 69 | 6d 65 72 2e 73 74 61 72 |r;....ti|mer.star|
|000006e0| 74 54 69 63 6b 73 20 3d | 20 28 54 69 63 6b 43 6f |tTicks =| (TickCo|
|000006f0| 75 6e 74 28 29 20 2d 20 | 74 69 6d 65 72 2e 73 74 |unt() - |timer.st|
|00000700| 61 72 74 54 69 63 6b 73 | 29 3b 0d 09 74 69 6d 65 |artTicks|);..time|
|00000710| 72 2e 73 74 61 72 74 65 | 64 20 3d 20 21 74 69 6d |r.starte|d = !tim|
|00000720| 65 72 2e 73 74 61 72 74 | 65 64 3b 0d 09 7d 0d 09 |er.start|ed;..}..|
|00000730| 0d 76 6f 69 64 20 52 65 | 73 65 74 43 6f 75 6e 74 |.void Re|setCount|
|00000740| 64 6f 77 6e 28 76 6f 69 | 64 29 0d 09 7b 0d 09 65 |down(voi|d)..{..e|
|00000750| 78 74 65 72 6e 20 54 69 | 6d 65 72 52 65 63 20 74 |xtern Ti|merRec t|
|00000760| 69 6d 65 72 3b 0d 09 0d | 09 69 66 20 28 74 69 6d |imer;...|.if (tim|
|00000770| 65 72 2e 73 74 61 72 74 | 65 64 29 20 0d 09 09 74 |er.start|ed) ...t|
|00000780| 69 6d 65 72 2e 73 74 61 | 72 74 54 69 63 6b 73 20 |imer.sta|rtTicks |
|00000790| 3d 20 54 69 63 6b 43 6f | 75 6e 74 28 29 3b 0d 09 |= TickCo|unt();..|
|000007a0| 65 6c 73 65 0d 09 09 74 | 69 6d 65 72 2e 73 74 61 |else...t|imer.sta|
|000007b0| 72 74 54 69 63 6b 73 20 | 3d 20 30 3b 0d 09 7d 0d |rtTicks |= 0;..}.|
|000007c0| 09 0d 76 6f 69 64 20 43 | 6c 6f 63 6b 5a 6f 6f 6d |..void C|lockZoom|
|000007d0| 28 76 6f 69 64 29 0d 09 | 7b 0d 09 65 78 74 65 72 |(void)..|{..exter|
|000007e0| 6e 20 63 68 61 72 20 09 | 09 7a 6f 6f 6d 65 64 3b |n char .|.zoomed;|
|000007f0| 0d 09 65 78 74 65 72 6e | 20 73 68 6f 72 74 20 09 |..extern| short .|
|00000800| 09 73 61 76 65 57 69 64 | 74 68 2c 73 61 76 65 48 |.saveWid|th,saveH|
|00000810| 65 69 67 68 74 3b 0d 09 | 65 78 74 65 72 6e 20 44 |eight;..|extern D|
|00000820| 69 61 6c 6f 67 50 74 72 | 09 74 68 65 44 69 61 6c |ialogPtr|.theDial|
|00000830| 6f 67 3b 0d 09 65 78 74 | 65 72 6e 20 53 74 72 32 |og;..ext|ern Str2|
|00000840| 35 35 09 09 73 61 76 65 | 53 74 72 69 6e 67 3b 0d |55..save|String;.|
|00000850| 09 0d 09 69 66 20 28 7a | 6f 6f 6d 65 64 29 20 7b |...if (z|oomed) {|
|00000860| 0d 09 09 53 69 7a 65 57 | 69 6e 64 6f 77 28 74 68 |...SizeW|indow(th|
|00000870| 65 44 69 61 6c 6f 67 2c | 73 61 76 65 57 69 64 74 |eDialog,|saveWidt|
|00000880| 68 2c 73 61 76 65 48 65 | 69 67 68 74 2c 74 72 75 |h,saveHe|ight,tru|
|00000890| 65 29 3b 0d 09 09 53 65 | 74 57 54 69 74 6c 65 28 |e);...Se|tWTitle(|
|000008a0| 74 68 65 44 69 61 6c 6f | 67 2c 22 5c 70 74 68 65 |theDialo|g,"\pthe|
|000008b0| 43 6c 6f 63 6b 22 29 3b | 0d 09 09 7d 0d 09 65 6c |Clock");|...}..el|
|000008c0| 73 65 20 7b 0d 09 09 73 | 61 76 65 57 69 64 74 68 |se {...s|aveWidth|
|000008d0| 20 3d 20 74 68 65 44 69 | 61 6c 6f 67 2d 3e 70 6f | = theDi|alog->po|
|000008e0| 72 74 52 65 63 74 2e 72 | 69 67 68 74 20 2d 20 74 |rtRect.r|ight - t|
|000008f0| 68 65 44 69 61 6c 6f 67 | 2d 3e 70 6f 72 74 52 65 |heDialog|->portRe|
|00000900| 63 74 2e 6c 65 66 74 3b | 0d 09 09 73 61 76 65 48 |ct.left;|...saveH|
|00000910| 65 69 67 68 74 20 3d 20 | 74 68 65 44 69 61 6c 6f |eight = |theDialo|
|00000920| 67 2d 3e 70 6f 72 74 52 | 65 63 74 2e 62 6f 74 74 |g->portR|ect.bott|
|00000930| 6f 6d 20 2d 20 74 68 65 | 44 69 61 6c 6f 67 2d 3e |om - the|Dialog->|
|00000940| 70 6f 72 74 52 65 63 74 | 2e 74 6f 70 3b 0d 09 09 |portRect|.top;...|
|00000950| 53 69 7a 65 57 69 6e 64 | 6f 77 28 74 68 65 44 69 |SizeWind|ow(theDi|
|00000960| 61 6c 6f 67 2c 28 73 61 | 76 65 57 69 64 74 68 2f |alog,(sa|veWidth/|
|00000970| 33 29 2a 32 2c 31 2c 74 | 72 75 65 29 3b 0d 09 09 |3)*2,1,t|rue);...|
|00000980| 7d 0d 09 7a 6f 6f 6d 65 | 64 20 3d 20 21 7a 6f 6f |}..zoome|d = !zoo|
|00000990| 6d 65 64 3b 0d 09 73 61 | 76 65 53 74 72 69 6e 67 |med;..sa|veString|
|000009a0| 5b 30 5d 20 3d 20 30 3b | 0d 09 7d 0d 0d 76 6f 69 |[0] = 0;|..}..voi|
|000009b0| 64 20 54 69 63 6b 73 54 | 6f 53 74 72 69 6e 67 28 |d TicksT|oString(|
|000009c0| 6c 6f 6e 67 20 72 61 77 | 53 65 63 73 29 0d 09 7b |long raw|Secs)..{|
|000009d0| 0d 09 65 78 74 65 72 6e | 20 53 74 72 32 35 35 20 |..extern| Str255 |
|000009e0| 74 68 65 44 69 73 70 6c | 61 79 3b 0d 09 0d 09 74 |theDispl|ay;....t|
|000009f0| 68 65 44 69 73 70 6c 61 | 79 5b 30 5d 3d 38 3b 0d |heDispla|y[0]=8;.|
|00000a00| 09 74 68 65 44 69 73 70 | 6c 61 79 5b 36 5d 3d 27 |.theDisp|lay[6]='|
|00000a10| 3a 27 3b 0d 09 74 68 65 | 44 69 73 70 6c 61 79 5b |:';..the|Display[|
|00000a20| 33 5d 3d 27 3a 27 3b 0d | 09 69 66 20 28 72 61 77 |3]=':';.|.if (raw|
|00000a30| 53 65 63 73 3e 3d 30 29 | 20 7b 0d 09 09 74 68 65 |Secs>=0)| {...the|
|00000a40| 44 69 73 70 6c 61 79 5b | 38 5d 3d 28 34 38 2b 28 |Display[|8]=(48+(|
|00000a50| 72 61 77 53 65 63 73 20 | 25 20 36 29 20 2a 20 28 |rawSecs |% 6) * (|
|00000a60| 31 30 2f 36 29 29 3b 0d | 09 09 74 68 65 44 69 73 |10/6));.|..theDis|
|00000a70| 70 6c 61 79 5b 37 5d 3d | 28 34 38 2b 28 28 72 61 |play[7]=|(48+((ra|
|00000a80| 77 53 65 63 73 20 25 20 | 36 30 29 20 2a 20 28 31 |wSecs % |60) * (1|
|00000a90| 30 2f 36 29 20 2f 20 31 | 30 29 29 3b 0d 09 09 74 |0/6) / 1|0));...t|
|00000aa0| 68 65 44 69 73 70 6c 61 | 79 5b 35 5d 3d 28 34 38 |heDispla|y[5]=(48|
|00000ab0| 2b 28 72 61 77 53 65 63 | 73 2f 36 30 29 25 31 30 |+(rawSec|s/60)%10|
|00000ac0| 29 3b 0d 09 09 74 68 65 | 44 69 73 70 6c 61 79 5b |);...the|Display[|
|00000ad0| 34 5d 3d 28 34 38 2b 28 | 72 61 77 53 65 63 73 2f |4]=(48+(|rawSecs/|
|00000ae0| 36 30 30 29 25 36 29 3b | 0d 09 09 74 68 65 44 69 |600)%6);|...theDi|
|00000af0| 73 70 6c 61 79 5b 32 5d | 3d 28 34 38 2b 28 72 61 |splay[2]|=(48+(ra|
|00000b00| 77 53 65 63 73 2f 33 36 | 30 30 29 25 31 30 29 3b |wSecs/36|00)%10);|
|00000b10| 0d 09 09 74 68 65 44 69 | 73 70 6c 61 79 5b 31 5d |...theDi|splay[1]|
|00000b20| 3d 28 34 38 2b 28 72 61 | 77 53 65 63 73 2f 33 36 |=(48+(ra|wSecs/36|
|00000b30| 30 30 30 29 25 31 30 29 | 3b 0d 09 09 7d 0d 09 7d |000)%10)|;...}..}|
|00000b40| 0d 09 0d 76 6f 69 64 20 | 43 6c 6f 63 6b 47 65 74 |...void |ClockGet|
|00000b50| 44 69 73 70 6c 61 79 28 | 76 6f 69 64 29 0d 09 7b |Display(|void)..{|
|00000b60| 0d 09 65 78 74 65 72 6e | 09 53 74 72 32 35 35 20 |..extern|.Str255 |
|00000b70| 74 68 65 44 69 73 70 6c | 61 79 3b 0d 09 65 78 74 |theDispl|ay;..ext|
|00000b80| 65 72 6e 20 09 73 68 6f | 72 74 20 09 6d 6f 64 65 |ern .sho|rt .mode|
|00000b90| 3b 0d 09 65 78 74 65 72 | 6e 20 09 63 68 61 72 20 |;..exter|n .char |
|00000ba0| 09 09 73 68 6f 77 53 65 | 63 73 3b 0d 09 65 78 74 |..showSe|cs;..ext|
|00000bb0| 65 72 6e 20 09 57 61 74 | 63 68 09 73 74 6f 70 77 |ern .Wat|ch.stopw|
|00000bc0| 61 74 63 68 3b 0d 09 65 | 78 74 65 72 6e 20 09 54 |atch;..e|xtern .T|
|00000bd0| 69 6d 65 72 52 65 63 09 | 74 69 6d 65 72 3b 0d 09 |imerRec.|timer;..|
|00000be0| 75 6e 73 69 67 6e 65 64 | 09 6c 6f 6e 67 09 09 72 |unsigned|.long..r|
|00000bf0| 61 77 53 65 63 73 3b 0d | 09 0d 09 47 65 74 44 61 |awSecs;.|...GetDa|
|00000c00| 74 65 54 69 6d 65 28 26 | 72 61 77 53 65 63 73 29 |teTime(&|rawSecs)|
|00000c10| 3b 0d 09 73 77 69 74 63 | 68 20 28 6d 6f 64 65 29 |;..switc|h (mode)|
|00000c20| 20 7b 0d 09 09 63 61 73 | 65 20 31 3a 20 7b 0d 09 | {...cas|e 1: {..|
|00000c30| 09 09 49 55 54 69 6d 65 | 53 74 72 69 6e 67 28 72 |..IUTime|String(r|
|00000c40| 61 77 53 65 63 73 2c 20 | 73 68 6f 77 53 65 63 73 |awSecs, |showSecs|
|00000c50| 2c 20 74 68 65 44 69 73 | 70 6c 61 79 29 3b 0d 09 |, theDis|play);..|
|00000c60| 09 09 62 72 65 61 6b 3b | 0d 09 09 09 7d 0d 09 09 |..break;|....}...|
|00000c70| 63 61 73 65 20 32 3a 20 | 7b 0d 09 09 09 49 55 44 |case 2: |{....IUD|
|00000c80| 61 74 65 53 74 72 69 6e | 67 28 72 61 77 53 65 63 |ateStrin|g(rawSec|
|00000c90| 73 2c 20 61 62 62 72 65 | 76 44 61 74 65 2c 20 74 |s, abbre|vDate, t|
|00000ca0| 68 65 44 69 73 70 6c 61 | 79 29 3b 0d 09 09 09 62 |heDispla|y);....b|
|00000cb0| 72 65 61 6b 3b 0d 09 09 | 09 7d 0d 09 09 63 61 73 |reak;...|.}...cas|
|00000cc0| 65 20 33 3a 20 7b 0d 09 | 09 09 69 66 20 28 21 73 |e 3: {..|..if (!s|
|00000cd0| 74 6f 70 77 61 74 63 68 | 2e 73 74 61 72 74 65 64 |topwatch|.started|
|00000ce0| 29 0d 09 09 09 09 72 61 | 77 53 65 63 73 3d 73 74 |).....ra|wSecs=st|
|00000cf0| 6f 70 77 61 74 63 68 2e | 73 74 61 72 74 54 69 63 |opwatch.|startTic|
|00000d00| 6b 73 3b 0d 09 09 09 65 | 6c 73 65 0d 09 09 09 09 |ks;....e|lse.....|
|00000d10| 72 61 77 53 65 63 73 3d | 54 69 63 6b 43 6f 75 6e |rawSecs=|TickCoun|
|00000d20| 74 28 29 20 2d 20 73 74 | 6f 70 77 61 74 63 68 2e |t() - st|opwatch.|
|00000d30| 73 74 61 72 74 54 69 63 | 6b 73 3b 0d 09 09 09 54 |startTic|ks;....T|
|00000d40| 69 63 6b 73 54 6f 53 74 | 72 69 6e 67 28 72 61 77 |icksToSt|ring(raw|
|00000d50| 53 65 63 73 29 3b 0d 09 | 09 09 62 72 65 61 6b 3b |Secs);..|..break;|
|00000d60| 0d 09 09 09 7d 0d 09 09 | 63 61 73 65 20 34 3a 20 |....}...|case 4: |
|00000d70| 7b 0d 09 09 09 69 66 20 | 28 21 74 69 6d 65 72 2e |{....if |(!timer.|
|00000d80| 73 74 61 72 74 65 64 29 | 0d 09 09 09 09 72 61 77 |started)|.....raw|
|00000d90| 53 65 63 73 3d 74 69 6d | 65 72 2e 63 6f 75 6e 74 |Secs=tim|er.count|
|00000da0| 44 6f 77 6e 20 2d 20 74 | 69 6d 65 72 2e 73 74 61 |Down - t|imer.sta|
|00000db0| 72 74 54 69 63 6b 73 3b | 0d 09 09 09 65 6c 73 65 |rtTicks;|....else|
|00000dc0| 0d 09 09 09 09 72 61 77 | 53 65 63 73 3d 74 69 6d |.....raw|Secs=tim|
|00000dd0| 65 72 2e 63 6f 75 6e 74 | 44 6f 77 6e 20 2d 20 28 |er.count|Down - (|
|00000de0| 54 69 63 6b 43 6f 75 6e | 74 28 29 20 2d 20 74 69 |TickCoun|t() - ti|
|00000df0| 6d 65 72 2e 73 74 61 72 | 74 54 69 63 6b 73 29 3b |mer.star|tTicks);|
|00000e00| 0d 09 09 09 54 69 63 6b | 73 54 6f 53 74 72 69 6e |....Tick|sToStrin|
|00000e10| 67 28 72 61 77 53 65 63 | 73 29 3b 0d 09 09 09 7d |g(rawSec|s);....}|
|00000e20| 0d 09 09 7d 0d 09 7d 0d | 09 0d 76 6f 69 64 20 44 |...}..}.|..void D|
|00000e30| 72 61 77 44 69 67 69 74 | 61 6c 53 74 72 69 6e 67 |rawDigit|alString|
|00000e40| 28 53 74 72 32 35 35 20 | 74 68 65 53 74 72 69 6e |(Str255 |theStrin|
|00000e50| 67 29 0d 09 7b 0d 09 72 | 65 67 69 73 74 65 72 20 |g)..{..r|egister |
|00000e60| 73 68 6f 72 74 09 63 6f | 75 6e 74 2c 20 61 74 58 |short.co|unt, atX|
|00000e70| 3b 0d 09 52 65 63 74 09 | 09 09 62 6f 75 6e 64 73 |;..Rect.|..bounds|
|00000e80| 3b 0d 09 43 49 63 6f 6e | 48 61 6e 64 6c 65 09 74 |;..CIcon|Handle.t|
|00000e90| 68 65 49 63 6f 6e 3b 0d | 09 0d 09 61 74 58 20 3d |heIcon;.|...atX =|
|00000ea0| 20 28 32 34 30 20 2d 20 | 28 74 68 65 53 74 72 69 | (240 - |(theStri|
|00000eb0| 6e 67 5b 30 5d 2a 31 31 | 29 29 2f 32 3b 0d 09 66 |ng[0]*11|))/2;..f|
|00000ec0| 6f 72 20 28 63 6f 75 6e | 74 3d 31 3b 63 6f 75 6e |or (coun|t=1;coun|
|00000ed0| 74 3c 3d 74 68 65 53 74 | 72 69 6e 67 5b 30 5d 3b |t<=theSt|ring[0];|
|00000ee0| 63 6f 75 6e 74 2b 2b 29 | 20 7b 0d 09 09 53 65 74 |count++)| {...Set|
|00000ef0| 52 65 63 74 28 26 62 6f | 75 6e 64 73 2c 20 61 74 |Rect(&bo|unds, at|
|00000f00| 58 20 2b 20 28 31 31 20 | 2a 20 63 6f 75 6e 74 29 |X + (11 |* count)|
|00000f10| 20 2d 20 31 30 2c 20 36 | 2c 20 61 74 58 20 2b 20 | - 10, 6|, atX + |
|00000f20| 28 31 31 20 2a 20 63 6f | 75 6e 74 29 2c 20 32 31 |(11 * co|unt), 21|
|00000f30| 29 3b 0d 09 09 73 77 69 | 74 63 68 20 28 74 68 65 |);...swi|tch (the|
|00000f40| 53 74 72 69 6e 67 5b 63 | 6f 75 6e 74 5d 29 20 7b |String[c|ount]) {|
|00000f50| 0d 09 09 09 63 61 73 65 | 20 27 30 27 3a 0d 09 09 |....case| '0':...|
|00000f60| 09 63 61 73 65 20 27 31 | 27 3a 0d 09 09 09 63 61 |.case '1|':....ca|
|00000f70| 73 65 20 27 32 27 3a 0d | 09 09 09 63 61 73 65 20 |se '2':.|...case |
|00000f80| 27 33 27 3a 0d 09 09 09 | 63 61 73 65 20 27 34 27 |'3':....|case '4'|
|00000f90| 3a 0d 09 09 09 63 61 73 | 65 20 27 35 27 3a 0d 09 |:....cas|e '5':..|
|00000fa0| 09 09 63 61 73 65 20 27 | 36 27 3a 0d 09 09 09 63 |..case '|6':....c|
|00000fb0| 61 73 65 20 27 37 27 3a | 0d 09 09 09 63 61 73 65 |ase '7':|....case|
|00000fc0| 20 27 38 27 3a 0d 09 09 | 09 63 61 73 65 20 27 39 | '8':...|.case '9|
|00000fd0| 27 3a 20 7b 0d 09 09 09 | 09 74 68 65 49 63 6f 6e |': {....|.theIcon|
|00000fe0| 20 3d 20 47 65 74 43 49 | 63 6f 6e 28 39 35 32 20 | = GetCI|con(952 |
|00000ff0| 2b 20 74 68 65 53 74 72 | 69 6e 67 5b 63 6f 75 6e |+ theStr|ing[coun|
|00001000| 74 5d 29 3b 0d 09 09 09 | 09 62 72 65 61 6b 3b 0d |t]);....|.break;.|
|00001010| 09 09 09 09 7d 0d 09 09 | 09 63 61 73 65 20 27 61 |....}...|.case 'a|
|00001020| 27 3a 0d 09 09 09 63 61 | 73 65 20 27 41 27 3a 20 |':....ca|se 'A': |
|00001030| 7b 0d 09 09 09 09 74 68 | 65 49 63 6f 6e 20 3d 20 |{.....th|eIcon = |
|00001040| 47 65 74 43 49 63 6f 6e | 28 31 30 31 31 29 3b 0d |GetCIcon|(1011);.|
|00001050| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 7d |....brea|k;.....}|
|00001060| 0d 09 09 09 63 61 73 65 | 20 27 70 27 3a 0d 09 09 |....case| 'p':...|
|00001070| 09 63 61 73 65 20 27 50 | 27 3a 20 7b 0d 09 09 09 |.case 'P|': {....|
|00001080| 09 74 68 65 49 63 6f 6e | 20 3d 20 47 65 74 43 49 |.theIcon| = GetCI|
|00001090| 63 6f 6e 28 31 30 31 32 | 29 3b 0d 09 09 09 09 62 |con(1012|);.....b|
|000010a0| 72 65 61 6b 3b 0d 09 09 | 09 09 7d 0d 09 09 09 63 |reak;...|..}....c|
|000010b0| 61 73 65 20 27 6d 27 3a | 0d 09 09 09 63 61 73 65 |ase 'm':|....case|
|000010c0| 20 27 4d 27 3a 20 7b 0d | 09 09 09 09 74 68 65 49 | 'M': {.|....theI|
|000010d0| 63 6f 6e 20 3d 20 47 65 | 74 43 49 63 6f 6e 28 31 |con = Ge|tCIcon(1|
|000010e0| 30 31 33 29 3b 0d 09 09 | 09 09 62 72 65 61 6b 3b |013);...|..break;|
|000010f0| 0d 09 09 09 09 7d 0d 09 | 09 09 64 65 66 61 75 6c |.....}..|..defaul|
|00001100| 74 3a 0d 09 09 09 09 74 | 68 65 49 63 6f 6e 20 3d |t:.....t|heIcon =|
|00001110| 20 47 65 74 43 49 63 6f | 6e 28 31 30 31 30 29 3b | GetCIco|n(1010);|
|00001120| 0d 09 09 09 7d 0d 09 09 | 50 6c 6f 74 43 49 63 6f |....}...|PlotCIco|
|00001130| 6e 28 26 62 6f 75 6e 64 | 73 2c 74 68 65 49 63 6f |n(&bound|s,theIco|
|00001140| 6e 29 3b 0d 09 09 44 69 | 73 70 6f 73 65 43 49 63 |n);...Di|sposeCIc|
|00001150| 6f 6e 28 74 68 65 49 63 | 6f 6e 29 3b 0d 09 09 7d |on(theIc|on);...}|
|00001160| 0d 09 7d 0d 09 0d 70 61 | 73 63 61 6c 20 76 6f 69 |..}...pa|scal voi|
|00001170| 64 20 44 72 61 77 43 6c | 6f 63 6b 42 6f 78 28 44 |d DrawCl|ockBox(D|
|00001180| 69 61 6c 6f 67 50 74 72 | 20 74 68 65 44 69 61 6c |ialogPtr| theDial|
|00001190| 6f 67 2c 20 73 68 6f 72 | 74 20 74 68 65 49 74 65 |og, shor|t theIte|
|000011a0| 6d 29 0d 09 7b 0d 09 65 | 78 74 65 72 6e 20 53 74 |m)..{..e|xtern St|
|000011b0| 72 32 35 35 09 74 68 65 | 44 69 73 70 6c 61 79 3b |r255.the|Display;|
|000011c0| 0d 09 65 78 74 65 72 6e | 20 73 68 6f 72 74 09 6d |..extern| short.m|
|000011d0| 6f 64 65 3b 0d 09 73 68 | 6f 72 74 09 09 69 54 79 |ode;..sh|ort..iTy|
|000011e0| 70 65 3b 0d 09 48 61 6e | 64 6c 65 09 09 69 48 61 |pe;..Han|dle..iHa|
|000011f0| 6e 64 6c 65 3b 0d 09 52 | 65 63 74 09 09 09 69 52 |ndle;..R|ect...iR|
|00001200| 65 63 74 3b 0d 09 43 49 | 63 6f 6e 48 61 6e 64 6c |ect;..CI|conHandl|
|00001210| 65 09 74 68 65 49 63 6f | 6e 3b 0d 09 0d 09 47 65 |e.theIco|n;....Ge|
|00001220| 74 44 49 74 65 6d 28 74 | 68 65 44 69 61 6c 6f 67 |tDItem(t|heDialog|
|00001230| 2c 74 68 65 49 74 65 6d | 2c 26 69 54 79 70 65 2c |,theItem|,&iType,|
|00001240| 26 69 48 61 6e 64 6c 65 | 2c 26 69 52 65 63 74 29 |&iHandle|,&iRect)|
|00001250| 3b 0d 09 43 6c 6f 63 6b | 47 65 74 44 69 73 70 6c |;..Clock|GetDispl|
|00001260| 61 79 28 29 3b 0d 09 73 | 77 69 74 63 68 20 28 6d |ay();..s|witch (m|
|00001270| 6f 64 65 29 20 7b 0d 09 | 09 63 61 73 65 20 31 3a |ode) {..|.case 1:|
|00001280| 20 7b 0d 09 09 09 44 72 | 61 77 44 69 67 69 74 61 | {....Dr|awDigita|
|00001290| 6c 53 74 72 69 6e 67 28 | 74 68 65 44 69 73 70 6c |lString(|theDispl|
|000012a0| 61 79 29 3b 0d 09 09 09 | 62 72 65 61 6b 3b 0d 09 |ay);....|break;..|
|000012b0| 09 09 7d 0d 09 09 63 61 | 73 65 20 32 3a 20 7b 0d |..}...ca|se 2: {.|
|000012c0| 09 09 09 4d 6f 76 65 54 | 6f 28 28 32 34 30 2d 53 |...MoveT|o((240-S|
|000012d0| 74 72 69 6e 67 57 69 64 | 74 68 28 74 68 65 44 69 |tringWid|th(theDi|
|000012e0| 73 70 6c 61 79 29 29 2f | 32 2c 31 37 29 3b 0d 09 |splay))/|2,17);..|
|000012f0| 09 09 44 72 61 77 53 74 | 72 69 6e 67 28 74 68 65 |..DrawSt|ring(the|
|00001300| 44 69 73 70 6c 61 79 29 | 3b 0d 09 09 09 62 72 65 |Display)|;....bre|
|00001310| 61 6b 3b 0d 09 09 09 7d | 0d 09 09 63 61 73 65 20 |ak;....}|...case |
|00001320| 33 3a 0d 09 09 63 61 73 | 65 20 34 3a 20 7b 0d 09 |3:...cas|e 4: {..|
|00001330| 09 09 44 72 61 77 44 69 | 67 69 74 61 6c 53 74 72 |..DrawDi|gitalStr|
|00001340| 69 6e 67 28 74 68 65 44 | 69 73 70 6c 61 79 29 3b |ing(theD|isplay);|
|00001350| 0d 09 09 09 53 65 74 52 | 65 63 74 28 26 69 52 65 |....SetR|ect(&iRe|
|00001360| 63 74 2c 31 38 35 2c 32 | 2c 32 30 34 2c 32 35 29 |ct,185,2|,204,25)|
|00001370| 3b 0d 09 09 09 74 68 65 | 49 63 6f 6e 3d 47 65 74 |;....the|Icon=Get|
|00001380| 43 49 63 6f 6e 28 31 30 | 31 34 29 3b 0d 09 09 09 |CIcon(10|14);....|
|00001390| 50 6c 6f 74 43 49 63 6f | 6e 28 26 69 52 65 63 74 |PlotCIco|n(&iRect|
|000013a0| 2c 74 68 65 49 63 6f 6e | 29 3b 0d 09 09 09 44 69 |,theIcon|);....Di|
|000013b0| 73 70 6f 73 65 43 49 63 | 6f 6e 28 74 68 65 49 63 |sposeCIc|on(theIc|
|000013c0| 6f 6e 29 3b 0d 09 09 09 | 53 65 74 52 65 63 74 28 |on);....|SetRect(|
|000013d0| 26 69 52 65 63 74 2c 32 | 31 30 2c 32 2c 32 32 39 |&iRect,2|10,2,229|
|000013e0| 2c 32 35 29 3b 0d 09 09 | 09 74 68 65 49 63 6f 6e |,25);...|.theIcon|
|000013f0| 3d 47 65 74 43 49 63 6f | 6e 28 31 30 31 35 29 3b |=GetCIco|n(1015);|
|00001400| 0d 09 09 09 50 6c 6f 74 | 43 49 63 6f 6e 28 26 69 |....Plot|CIcon(&i|
|00001410| 52 65 63 74 2c 74 68 65 | 49 63 6f 6e 29 3b 0d 09 |Rect,the|Icon);..|
|00001420| 09 09 44 69 73 70 6f 73 | 65 43 49 63 6f 6e 28 74 |..Dispos|eCIcon(t|
|00001430| 68 65 49 63 6f 6e 29 3b | 0d 09 09 09 7d 0d 09 09 |heIcon);|....}...|
|00001440| 7d 0d 09 7d 0d 09 0d 76 | 6f 69 64 20 43 6c 6f 63 |}..}...v|oid Cloc|
|00001450| 6b 53 68 6f 77 28 76 6f | 69 64 29 0d 09 7b 0d 09 |kShow(vo|id)..{..|
|00001460| 65 78 74 65 72 6e 09 44 | 69 61 6c 6f 67 50 74 72 |extern.D|ialogPtr|
|00001470| 09 09 74 68 65 44 69 61 | 6c 6f 67 3b 0d 09 65 78 |..theDia|log;..ex|
|00001480| 74 65 72 6e 09 63 68 61 | 72 09 09 09 74 77 65 6e |tern.cha|r...twen|
|00001490| 74 79 46 6f 75 72 2c 20 | 73 68 6f 77 53 65 63 73 |tyFour, |showSecs|
|000014a0| 2c 7a 6f 6f 6d 65 64 3b | 0d 09 65 78 74 65 72 6e |,zoomed;|..extern|
|000014b0| 09 73 68 6f 72 74 09 09 | 73 61 76 65 48 65 69 67 |.short..|saveHeig|
|000014c0| 68 74 2c 73 61 76 65 57 | 69 64 74 68 2c 6d 6f 64 |ht,saveW|idth,mod|
|000014d0| 65 3b 0d 09 65 78 74 65 | 72 6e 09 53 74 72 32 35 |e;..exte|rn.Str25|
|000014e0| 35 09 09 73 61 76 65 53 | 74 72 69 6e 67 3b 0d 09 |5..saveS|tring;..|
|000014f0| 65 78 74 65 72 6e 09 57 | 61 74 63 68 09 09 73 74 |extern.W|atch..st|
|00001500| 6f 70 77 61 74 63 68 3b | 0d 09 65 78 74 65 72 6e |opwatch;|..extern|
|00001510| 09 54 69 6d 65 72 52 65 | 63 09 09 74 69 6d 65 72 |.TimerRe|c..timer|
|00001520| 3b 0d 0d 09 73 68 6f 72 | 74 20 09 09 69 54 79 70 |;...shor|t ..iTyp|
|00001530| 65 3b 0d 09 48 61 6e 64 | 6c 65 09 09 69 48 61 6e |e;..Hand|le..iHan|
|00001540| 64 6c 65 3b 0d 09 52 65 | 63 74 09 09 09 69 52 65 |dle;..Re|ct...iRe|
|00001550| 63 74 3b 0d 09 43 6c 6f | 63 6b 50 72 65 66 48 64 |ct;..Clo|ckPrefHd|
|00001560| 6c 09 74 68 65 50 72 65 | 66 73 3b 0d 09 49 42 53 |l.thePre|fs;..IBS|
|00001570| 74 79 6c 65 09 09 74 68 | 65 53 74 79 6c 65 3b 0d |tyle..th|eStyle;.|
|00001580| 09 0d 09 69 66 20 28 74 | 68 65 44 69 61 6c 6f 67 |...if (t|heDialog|
|00001590| 3d 3d 30 29 20 7b 0d 09 | 09 74 68 65 50 72 65 66 |==0) {..|.thePref|
|000015a0| 73 3d 28 43 6c 6f 63 6b | 50 72 65 66 48 64 6c 29 |s=(Clock|PrefHdl)|
|000015b0| 47 65 74 31 49 6e 64 52 | 65 73 6f 75 72 63 65 28 |Get1IndR|esource(|
|000015c0| 27 70 72 65 66 27 2c 31 | 29 3b 0d 09 09 48 4c 6f |'pref',1|);...HLo|
|000015d0| 63 6b 28 28 48 61 6e 64 | 6c 65 29 74 68 65 50 72 |ck((Hand|le)thePr|
|000015e0| 65 66 73 29 3b 0d 09 09 | 74 77 65 6e 74 79 46 6f |efs);...|twentyFo|
|000015f0| 75 72 3d 28 2a 74 68 65 | 50 72 65 66 73 29 2d 3e |ur=(*the|Prefs)->|
|00001600| 68 72 32 34 3b 0d 09 09 | 73 68 6f 77 53 65 63 73 |hr24;...|showSecs|
|00001610| 3d 28 2a 74 68 65 50 72 | 65 66 73 29 2d 3e 73 68 |=(*thePr|efs)->sh|
|00001620| 6f 77 53 65 63 73 3b 0d | 09 09 7a 6f 6f 6d 65 64 |owSecs;.|..zoomed|
|00001630| 3d 28 2a 74 68 65 50 72 | 65 66 73 29 2d 3e 7a 6f |=(*thePr|efs)->zo|
|00001640| 6f 6d 65 64 3b 0d 09 09 | 74 69 6d 65 72 3d 28 2a |omed;...|timer=(*|
|00001650| 74 68 65 50 72 65 66 73 | 29 2d 3e 74 69 6d 65 72 |thePrefs|)->timer|
|00001660| 3b 0d 09 09 74 69 6d 65 | 72 2e 73 74 61 72 74 54 |;...time|r.startT|
|00001670| 69 63 6b 73 3d 30 3b 0d | 09 09 6d 6f 64 65 3d 31 |icks=0;.|..mode=1|
|00001680| 3b 0d 09 09 74 68 65 44 | 69 61 6c 6f 67 3d 46 57 |;...theD|ialog=FW|
|00001690| 4f 70 65 6e 57 69 6e 64 | 6f 77 28 31 33 34 29 3b |OpenWind|ow(134);|
|000016a0| 0d 09 09 49 42 49 6e 73 | 74 61 6c 6c 28 74 68 65 |...IBIns|tall(the|
|000016b0| 44 69 61 6c 6f 67 2c 31 | 32 38 29 3b 0d 09 09 74 |Dialog,1|28);...t|
|000016c0| 68 65 53 74 79 6c 65 3d | 49 42 47 65 74 53 74 79 |heStyle=|IBGetSty|
|000016d0| 6c 65 28 74 68 65 44 69 | 61 6c 6f 67 29 3b 0d 09 |le(theDi|alog);..|
|000016e0| 09 74 68 65 53 74 79 6c | 65 2e 74 78 46 61 63 65 |.theStyl|e.txFace|
|000016f0| 3d 30 3b 0d 09 09 49 42 | 53 65 74 53 74 79 6c 65 |=0;...IB|SetStyle|
|00001700| 28 74 68 65 44 69 61 6c | 6f 67 2c 26 74 68 65 53 |(theDial|og,&theS|
|00001710| 74 79 6c 65 29 3b 0d 09 | 09 47 65 74 44 49 74 65 |tyle);..|.GetDIte|
|00001720| 6d 28 74 68 65 44 69 61 | 6c 6f 67 2c 31 2c 26 69 |m(theDia|log,1,&i|
|00001730| 54 79 70 65 2c 26 69 48 | 61 6e 64 6c 65 2c 26 69 |Type,&iH|andle,&i|
|00001740| 52 65 63 74 29 3b 0d 09 | 09 53 65 74 44 49 74 65 |Rect);..|.SetDIte|
|00001750| 6d 28 74 68 65 44 69 61 | 6c 6f 67 2c 31 2c 69 54 |m(theDia|log,1,iT|
|00001760| 79 70 65 2c 28 48 61 6e | 64 6c 65 29 44 72 61 77 |ype,(Han|dle)Draw|
|00001770| 43 6c 6f 63 6b 42 6f 78 | 2c 26 69 52 65 63 74 29 |ClockBox|,&iRect)|
|00001780| 3b 0d 09 09 4d 6f 76 65 | 57 69 6e 64 6f 77 28 74 |;...Move|Window(t|
|00001790| 68 65 44 69 61 6c 6f 67 | 2c 28 2a 74 68 65 50 72 |heDialog|,(*thePr|
|000017a0| 65 66 73 29 2d 3e 62 6f | 75 6e 64 73 2e 6c 65 66 |efs)->bo|unds.lef|
|000017b0| 74 2c 28 2a 74 68 65 50 | 72 65 66 73 29 2d 3e 62 |t,(*theP|refs)->b|
|000017c0| 6f 75 6e 64 73 2e 74 6f | 70 2c 74 72 75 65 29 3b |ounds.to|p,true);|
|000017d0| 0d 09 09 48 55 6e 6c 6f | 63 6b 28 28 48 61 6e 64 |...HUnlo|ck((Hand|
|000017e0| 6c 65 29 74 68 65 50 72 | 65 66 73 29 3b 0d 09 09 |le)thePr|efs);...|
|000017f0| 69 66 20 28 7a 6f 6f 6d | 65 64 29 20 7b 0d 09 09 |if (zoom|ed) {...|
|00001800| 09 7a 6f 6f 6d 65 64 3d | 66 61 6c 73 65 3b 0d 09 |.zoomed=|false;..|
|00001810| 09 09 43 6c 6f 63 6b 5a | 6f 6f 6d 28 29 3b 7d 0d |..ClockZ|oom();}.|
|00001820| 09 09 53 68 6f 77 57 69 | 6e 64 6f 77 28 74 68 65 |..ShowWi|ndow(the|
|00001830| 44 69 61 6c 6f 67 29 3b | 0d 09 09 7d 0d 09 65 6c |Dialog);|...}..el|
|00001840| 73 65 0d 09 09 46 57 53 | 65 6c 65 63 74 57 69 6e |se...FWS|electWin|
|00001850| 64 6f 77 28 74 68 65 44 | 69 61 6c 6f 67 29 3b 0d |dow(theD|ialog);.|
|00001860| 09 7d 0d 09 0d 76 6f 69 | 64 20 43 6c 6f 63 6b 48 |.}...voi|d ClockH|
|00001870| 69 64 65 28 76 6f 69 64 | 29 0d 09 7b 0d 09 65 78 |ide(void|)..{..ex|
|00001880| 74 65 72 6e 09 44 69 61 | 6c 6f 67 50 74 72 09 09 |tern.Dia|logPtr..|
|00001890| 74 68 65 44 69 61 6c 6f | 67 3b 0d 09 65 78 74 65 |theDialo|g;..exte|
|000018a0| 72 6e 09 63 68 61 72 09 | 09 09 74 77 65 6e 74 79 |rn.char.|..twenty|
|000018b0| 46 6f 75 72 2c 20 73 68 | 6f 77 53 65 63 73 2c 7a |Four, sh|owSecs,z|
|000018c0| 6f 6f 6d 65 64 3b 0d 09 | 65 78 74 65 72 6e 09 73 |oomed;..|extern.s|
|000018d0| 68 6f 72 74 09 09 73 61 | 76 65 48 65 69 67 68 74 |hort..sa|veHeight|
|000018e0| 2c 73 61 76 65 57 69 64 | 74 68 2c 6d 6f 64 65 3b |,saveWid|th,mode;|
|000018f0| 0d 09 65 78 74 65 72 6e | 09 53 74 72 32 35 35 09 |..extern|.Str255.|
|00001900| 09 73 61 76 65 53 74 72 | 69 6e 67 3b 0d 09 65 78 |.saveStr|ing;..ex|
|00001910| 74 65 72 6e 09 57 61 74 | 63 68 09 09 73 74 6f 70 |tern.Wat|ch..stop|
|00001920| 77 61 74 63 68 3b 0d 09 | 65 78 74 65 72 6e 09 54 |watch;..|extern.T|
|00001930| 69 6d 65 72 52 65 63 09 | 09 74 69 6d 65 72 3b 0d |imerRec.|.timer;.|
|00001940| 09 43 6c 6f 63 6b 50 72 | 65 66 48 64 6c 09 74 68 |.ClockPr|efHdl.th|
|00001950| 65 50 72 65 66 73 3b 0d | 09 0d 09 69 66 20 28 74 |ePrefs;.|...if (t|
|00001960| 68 65 44 69 61 6c 6f 67 | 21 3d 30 29 20 7b 0d 09 |heDialog|!=0) {..|
|00001970| 09 74 68 65 50 72 65 66 | 73 3d 28 43 6c 6f 63 6b |.thePref|s=(Clock|
|00001980| 50 72 65 66 48 64 6c 29 | 47 65 74 31 49 6e 64 52 |PrefHdl)|Get1IndR|
|00001990| 65 73 6f 75 72 63 65 28 | 27 70 72 65 66 27 2c 31 |esource(|'pref',1|
|000019a0| 29 3b 0d 09 09 48 4c 6f | 63 6b 28 28 48 61 6e 64 |);...HLo|ck((Hand|
|000019b0| 6c 65 29 74 68 65 50 72 | 65 66 73 29 3b 0d 09 09 |le)thePr|efs);...|
|000019c0| 28 2a 74 68 65 50 72 65 | 66 73 29 2d 3e 73 68 6f |(*thePre|fs)->sho|
|000019d0| 77 53 65 63 73 3d 73 68 | 6f 77 53 65 63 73 3b 0d |wSecs=sh|owSecs;.|
|000019e0| 09 09 28 2a 74 68 65 50 | 72 65 66 73 29 2d 3e 7a |..(*theP|refs)->z|
|000019f0| 6f 6f 6d 65 64 3d 7a 6f | 6f 6d 65 64 3b 0d 09 09 |oomed=zo|omed;...|
|00001a00| 28 2a 74 68 65 50 72 65 | 66 73 29 2d 3e 74 69 6d |(*thePre|fs)->tim|
|00001a10| 65 72 3d 74 69 6d 65 72 | 3b 0d 09 09 28 2a 74 68 |er=timer|;...(*th|
|00001a20| 65 50 72 65 66 73 29 2d | 3e 62 6f 75 6e 64 73 3d |ePrefs)-|>bounds=|
|00001a30| 28 2a 28 28 57 69 6e 64 | 6f 77 50 65 65 6b 29 74 |(*((Wind|owPeek)t|
|00001a40| 68 65 44 69 61 6c 6f 67 | 29 2d 3e 63 6f 6e 74 52 |heDialog|)->contR|
|00001a50| 67 6e 29 2d 3e 72 67 6e | 42 42 6f 78 3b 0d 09 09 |gn)->rgn|BBox;...|
|00001a60| 28 2a 74 68 65 50 72 65 | 66 73 29 2d 3e 68 72 32 |(*thePre|fs)->hr2|
|00001a70| 34 3d 74 77 65 6e 74 79 | 46 6f 75 72 3b 0d 09 09 |4=twenty|Four;...|
|00001a80| 48 55 6e 6c 6f 63 6b 28 | 28 48 61 6e 64 6c 65 29 |HUnlock(|(Handle)|
|00001a90| 74 68 65 50 72 65 66 73 | 29 3b 0d 09 09 43 68 61 |thePrefs|);...Cha|
|00001aa0| 6e 67 65 64 52 65 73 6f | 75 72 63 65 28 28 48 61 |ngedReso|urce((Ha|
|00001ab0| 6e 64 6c 65 29 74 68 65 | 50 72 65 66 73 29 3b 0d |ndle)the|Prefs);.|
|00001ac0| 09 09 57 72 69 74 65 52 | 65 73 6f 75 72 63 65 28 |..WriteR|esource(|
|00001ad0| 28 48 61 6e 64 6c 65 29 | 74 68 65 50 72 65 66 73 |(Handle)|thePrefs|
|00001ae0| 29 3b 0d 09 09 49 42 44 | 69 73 70 6f 73 65 28 74 |);...IBD|ispose(t|
|00001af0| 68 65 44 69 61 6c 6f 67 | 29 3b 0d 09 09 46 57 43 |heDialog|);...FWC|
|00001b00| 6c 6f 73 65 57 69 6e 64 | 6f 77 28 74 68 65 44 69 |loseWind|ow(theDi|
|00001b10| 61 6c 6f 67 29 3b 0d 09 | 09 74 68 65 44 69 61 6c |alog);..|.theDial|
|00001b20| 6f 67 3d 30 3b 0d 09 09 | 7d 0d 09 7d 0d 09 0d 76 |og=0;...|}..}...v|
|00001b30| 6f 69 64 20 43 6c 6f 63 | 6b 55 70 64 61 74 65 28 |oid Cloc|kUpdate(|
|00001b40| 76 6f 69 64 29 0d 09 7b | 0d 09 65 78 74 65 72 6e |void)..{|..extern|
|00001b50| 20 09 53 74 72 32 35 35 | 09 74 68 65 44 69 73 70 | .Str255|.theDisp|
|00001b60| 6c 61 79 3b 0d 09 65 78 | 74 65 72 6e 09 44 69 61 |lay;..ex|tern.Dia|
|00001b70| 6c 6f 67 50 74 72 09 09 | 74 68 65 44 69 61 6c 6f |logPtr..|theDialo|
|00001b80| 67 3b 0d 09 65 78 74 65 | 72 6e 09 53 74 72 32 35 |g;..exte|rn.Str25|
|00001b90| 35 09 09 73 61 76 65 53 | 74 72 69 6e 67 3b 0d 09 |5..saveS|tring;..|
|00001ba0| 0d 09 50 72 6f 63 65 73 | 73 53 65 72 69 61 6c 4e |..Proces|sSerialN|
|00001bb0| 75 6d 62 65 72 09 74 68 | 69 73 50 53 4e 2c 66 72 |umber.th|isPSN,fr|
|00001bc0| 6f 6e 74 50 53 4e 3b 0d | 09 75 6e 73 69 67 6e 65 |ontPSN;.|.unsigne|
|00001bd0| 64 20 63 68 61 72 09 09 | 09 72 65 73 75 6c 74 3b |d char..|.result;|
|00001be0| 0d 09 4e 4d 52 65 63 50 | 74 72 09 09 09 09 74 68 |..NMRecP|tr....th|
|00001bf0| 65 4e 4d 3b 0d 09 4f 53 | 45 72 72 09 09 09 09 74 |eNM;..OS|Err....t|
|00001c00| 68 65 45 72 72 6f 72 3b | 0d 09 53 74 72 69 6e 67 |heError;|..String|
|00001c10| 50 74 72 09 09 09 09 74 | 68 65 53 74 72 69 6e 67 |Ptr....t|heString|
|00001c20| 3b 0d 09 0d 09 43 6c 6f | 63 6b 47 65 74 44 69 73 |;....Clo|ckGetDis|
|00001c30| 70 6c 61 79 28 29 3b 0d | 09 69 66 20 28 28 74 68 |play();.|.if ((th|
|00001c40| 65 44 69 61 6c 6f 67 21 | 3d 30 29 20 26 26 20 28 |eDialog!|=0) && (|
|00001c50| 21 45 71 75 61 6c 53 74 | 72 69 6e 67 28 74 68 65 |!EqualSt|ring(the|
|00001c60| 44 69 73 70 6c 61 79 2c | 73 61 76 65 53 74 72 69 |Display,|saveStri|
|00001c70| 6e 67 2c 74 72 75 65 2c | 74 72 75 65 29 29 29 20 |ng,true,|true))) |
|00001c80| 7b 0d 09 09 69 66 20 28 | 7a 6f 6f 6d 65 64 29 0d |{...if (|zoomed).|
|00001c90| 09 09 09 53 65 74 57 54 | 69 74 6c 65 28 74 68 65 |...SetWT|itle(the|
|00001ca0| 44 69 61 6c 6f 67 2c 74 | 68 65 44 69 73 70 6c 61 |Dialog,t|heDispla|
|00001cb0| 79 29 3b 0d 09 09 65 6c | 73 65 20 7b 0d 09 09 09 |y);...el|se {....|
|00001cc0| 53 65 74 50 6f 72 74 28 | 74 68 65 44 69 61 6c 6f |SetPort(|theDialo|
|00001cd0| 67 29 3b 0d 09 09 09 44 | 72 61 77 43 6c 6f 63 6b |g);....D|rawClock|
|00001ce0| 42 6f 78 28 74 68 65 44 | 69 61 6c 6f 67 2c 31 29 |Box(theD|ialog,1)|
|00001cf0| 3b 7d 0d 09 09 69 66 20 | 28 28 74 69 6d 65 72 2e |;}...if |((timer.|
|00001d00| 73 74 61 72 74 65 64 29 | 20 26 26 20 28 74 69 6d |started)| && (tim|
|00001d10| 65 72 2e 63 6f 75 6e 74 | 44 6f 77 6e 2d 28 54 69 |er.count|Down-(Ti|
|00001d20| 63 6b 43 6f 75 6e 74 28 | 29 2d 74 69 6d 65 72 2e |ckCount(|)-timer.|
|00001d30| 73 74 61 72 74 54 69 63 | 6b 73 29 3c 3d 30 29 29 |startTic|ks)<=0))|
|00001d40| 20 7b 0d 09 09 09 74 69 | 6d 65 72 2e 73 74 61 72 | {....ti|mer.star|
|00001d50| 74 65 64 3d 66 61 6c 73 | 65 3b 0d 09 09 09 74 69 |ted=fals|e;....ti|
|00001d60| 6d 65 72 2e 73 74 61 72 | 74 54 69 63 6b 73 3d 30 |mer.star|tTicks=0|
|00001d70| 3b 0d 09 09 09 74 68 65 | 45 72 72 6f 72 20 3d 20 |;....the|Error = |
|00001d80| 47 65 74 43 75 72 72 65 | 6e 74 50 72 6f 63 65 73 |GetCurre|ntProces|
|00001d90| 73 28 26 74 68 69 73 50 | 53 4e 29 3b 0d 09 09 09 |s(&thisP|SN);....|
|00001da0| 74 68 65 45 72 72 6f 72 | 20 3d 20 47 65 74 46 72 |theError| = GetFr|
|00001db0| 6f 6e 74 50 72 6f 63 65 | 73 73 28 26 66 72 6f 6e |ontProce|ss(&fron|
|00001dc0| 74 50 53 4e 29 3b 0d 09 | 09 09 74 68 65 45 72 72 |tPSN);..|..theErr|
|00001dd0| 6f 72 20 3d 20 53 61 6d | 65 50 72 6f 63 65 73 73 |or = Sam|eProcess|
|00001de0| 28 26 74 68 69 73 50 53 | 4e 2c 26 66 72 6f 6e 74 |(&thisPS|N,&front|
|00001df0| 50 53 4e 2c 26 72 65 73 | 75 6c 74 29 3b 0d 09 09 |PSN,&res|ult);...|
|00001e00| 09 69 66 20 28 72 65 73 | 75 6c 74 29 0d 09 09 09 |.if (res|ult)....|
|00001e10| 09 44 6f 41 6c 65 72 74 | 28 22 5c 70 41 6c 61 72 |.DoAlert|("\pAlar|
|00001e20| 6d 20 43 61 6c 6c 20 2d | 20 54 69 6d 65 27 73 20 |m Call -| Time's |
|00001e30| 55 70 21 22 29 3b 0d 09 | 09 09 65 6c 73 65 20 7b |Up!");..|..else {|
|00001e40| 0d 09 09 09 09 74 68 65 | 4e 4d 3d 28 4e 4d 52 65 |.....the|NM=(NMRe|
|00001e50| 63 50 74 72 29 4e 65 77 | 50 74 72 28 73 69 7a 65 |cPtr)New|Ptr(size|
|00001e60| 6f 66 28 4e 4d 52 65 63 | 29 29 3b 0d 09 09 09 09 |of(NMRec|));.....|
|00001e70| 74 68 65 4e 4d 2d 3e 6e | 6d 53 6f 75 6e 64 3d 28 |theNM->n|mSound=(|
|00001e80| 48 61 6e 64 6c 65 29 2d | 31 3b 0d 09 09 09 09 74 |Handle)-|1;.....t|
|00001e90| 68 65 53 74 72 69 6e 67 | 3d 28 53 74 72 69 6e 67 |heString|=(String|
|00001ea0| 50 74 72 29 4e 65 77 50 | 74 72 28 73 69 7a 65 6f |Ptr)NewP|tr(sizeo|
|00001eb0| 66 28 53 74 72 32 35 35 | 29 29 3b 0d 09 09 09 09 |f(Str255|));.....|
|00001ec0| 74 68 65 53 74 72 69 6e | 67 3d 22 5c 70 41 6c 61 |theStrin|g="\pAla|
|00001ed0| 72 6d 20 43 61 6c 6c 20 | 2d 20 54 69 6d 65 27 73 |rm Call |- Time's|
|00001ee0| 20 55 70 21 22 3b 0d 09 | 09 09 09 74 68 65 4e 4d | Up!";..|...theNM|
|00001ef0| 2d 3e 6e 6d 53 74 72 3d | 74 68 65 53 74 72 69 6e |->nmStr=|theStrin|
|00001f00| 67 3b 0d 09 09 09 09 74 | 68 65 4e 4d 2d 3e 6e 6d |g;.....t|heNM->nm|
|00001f10| 52 65 73 70 3d 28 4e 4d | 50 72 6f 63 50 74 72 29 |Resp=(NM|ProcPtr)|
|00001f20| 2d 31 3b 0d 09 09 09 09 | 74 68 65 4e 4d 2d 3e 6e |-1;.....|theNM->n|
|00001f30| 6d 4d 61 72 6b 3d 31 3b | 0d 09 09 09 09 74 68 65 |mMark=1;|.....the|
|00001f40| 4e 4d 2d 3e 71 54 79 70 | 65 3d 38 3b 0d 09 09 09 |NM->qTyp|e=8;....|
|00001f50| 09 74 68 65 4e 4d 2d 3e | 6e 6d 49 63 6f 6e 3d 30 |.theNM->|nmIcon=0|
|00001f60| 3b 0d 09 09 09 09 74 68 | 65 45 72 72 6f 72 3d 47 |;.....th|eError=G|
|00001f70| 65 74 49 63 6f 6e 53 75 | 69 74 65 28 26 28 74 68 |etIconSu|ite(&(th|
|00001f80| 65 4e 4d 2d 3e 6e 6d 49 | 63 6f 6e 29 2c 31 32 38 |eNM->nmI|con),128|
|00001f90| 2c 2d 31 29 3b 0d 09 09 | 09 09 74 68 65 45 72 72 |,-1);...|..theErr|
|00001fa0| 6f 72 3d 4e 4d 49 6e 73 | 74 61 6c 6c 28 74 68 65 |or=NMIns|tall(the|
|00001fb0| 4e 4d 29 3b 0d 09 09 09 | 09 7d 0d 09 09 09 7d 7d |NM);....|.}....}}|
|00001fc0| 0d 09 09 42 6c 6f 63 6b | 4d 6f 76 65 28 28 50 74 |...Block|Move((Pt|
|00001fd0| 72 29 74 68 65 44 69 73 | 70 6c 61 79 2c 28 50 74 |r)theDis|play,(Pt|
|00001fe0| 72 29 73 61 76 65 53 74 | 72 69 6e 67 2c 32 35 36 |r)saveSt|ring,256|
|00001ff0| 29 3b 0d 09 7d 0d 0d 76 | 6f 69 64 20 43 6c 6f 63 |);..}..v|oid Cloc|
|00002000| 6b 45 64 69 74 28 76 6f | 69 64 29 0d 09 7b 0d 09 |kEdit(vo|id)..{..|
|00002010| 65 78 74 65 72 6e 20 63 | 68 61 72 09 73 68 6f 77 |extern c|har.show|
|00002020| 53 65 63 73 2c 74 77 65 | 6e 74 79 46 6f 75 72 3b |Secs,twe|ntyFour;|
|00002030| 0d 09 44 69 61 6c 6f 67 | 50 74 72 09 09 6f 70 74 |..Dialog|Ptr..opt|
|00002040| 44 69 61 6c 6f 67 3b 0d | 09 73 68 6f 72 74 09 09 |Dialog;.|.short..|
|00002050| 69 74 65 6d 48 69 74 2c | 69 54 79 70 65 3b 0d 09 |itemHit,|iType;..|
|00002060| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 09 74 68 |ControlH|andle.th|
|00002070| 65 43 6f 6e 74 72 6f 6c | 3b 0d 09 52 65 63 74 09 |eControl|;..Rect.|
|00002080| 09 09 69 52 65 63 74 3b | 0d 09 4f 53 45 72 72 09 |..iRect;|..OSErr.|
|00002090| 09 74 68 65 45 72 72 6f | 72 3b 0d 09 0d 09 6f 70 |.theErro|r;....op|
|000020a0| 74 44 69 61 6c 6f 67 3d | 47 65 74 4e 65 77 44 69 |tDialog=|GetNewDi|
|000020b0| 61 6c 6f 67 28 31 33 35 | 2c 6e 69 6c 2c 28 57 69 |alog(135|,nil,(Wi|
|000020c0| 6e 64 6f 77 50 74 72 29 | 2d 31 29 3b 0d 09 74 68 |ndowPtr)|-1);..th|
|000020d0| 65 45 72 72 6f 72 3d 53 | 65 74 44 69 61 6c 6f 67 |eError=S|etDialog|
|000020e0| 44 65 66 61 75 6c 74 49 | 74 65 6d 28 6f 70 74 44 |DefaultI|tem(optD|
|000020f0| 69 61 6c 6f 67 2c 32 29 | 3b 0d 09 74 68 65 45 72 |ialog,2)|;..theEr|
|00002100| 72 6f 72 3d 53 65 74 44 | 69 61 6c 6f 67 43 61 6e |ror=SetD|ialogCan|
|00002110| 63 65 6c 49 74 65 6d 28 | 6f 70 74 44 69 61 6c 6f |celItem(|optDialo|
|00002120| 67 2c 33 29 3b 0d 09 47 | 65 74 44 49 74 65 6d 28 |g,3);..G|etDItem(|
|00002130| 6f 70 74 44 69 61 6c 6f | 67 2c 37 2c 26 69 54 79 |optDialo|g,7,&iTy|
|00002140| 70 65 2c 26 28 28 48 61 | 6e 64 6c 65 29 74 68 65 |pe,&((Ha|ndle)the|
|00002150| 43 6f 6e 74 72 6f 6c 29 | 2c 26 69 52 65 63 74 29 |Control)|,&iRect)|
|00002160| 3b 0d 09 53 65 74 43 74 | 6c 56 61 6c 75 65 28 74 |;..SetCt|lValue(t|
|00002170| 68 65 43 6f 6e 74 72 6f | 6c 2c 74 77 65 6e 74 79 |heContro|l,twenty|
|00002180| 46 6f 75 72 29 3b 0d 09 | 47 65 74 44 49 74 65 6d |Four);..|GetDItem|
|00002190| 28 6f 70 74 44 69 61 6c | 6f 67 2c 38 2c 26 69 54 |(optDial|og,8,&iT|
|000021a0| 79 70 65 2c 26 28 28 48 | 61 6e 64 6c 65 29 74 68 |ype,&((H|andle)th|
|000021b0| 65 43 6f 6e 74 72 6f 6c | 29 2c 26 69 52 65 63 74 |eControl|),&iRect|
|000021c0| 29 3b 0d 09 53 65 74 43 | 74 6c 56 61 6c 75 65 28 |);..SetC|tlValue(|
|000021d0| 74 68 65 43 6f 6e 74 72 | 6f 6c 2c 73 68 6f 77 53 |theContr|ol,showS|
|000021e0| 65 63 73 29 3b 0d 09 0d | 09 64 6f 20 7b 0d 09 09 |ecs);...|.do {...|
|000021f0| 4d 6f 64 61 6c 44 69 61 | 6c 6f 67 28 30 2c 26 69 |ModalDia|log(0,&i|
|00002200| 74 65 6d 48 69 74 29 3b | 0d 09 09 0d 09 09 69 66 |temHit);|......if|
|00002210| 20 28 28 69 74 65 6d 48 | 69 74 3d 3d 37 29 20 7c | ((itemH|it==7) ||
|00002220| 7c 20 28 69 74 65 6d 48 | 69 74 3d 3d 38 29 29 20 || (itemH|it==8)) |
|00002230| 7b 0d 09 09 09 47 65 74 | 44 49 74 65 6d 28 6f 70 |{....Get|DItem(op|
|00002240| 74 44 69 61 6c 6f 67 2c | 69 74 65 6d 48 69 74 2c |tDialog,|itemHit,|
|00002250| 26 69 54 79 70 65 2c 26 | 28 28 48 61 6e 64 6c 65 |&iType,&|((Handle|
|00002260| 29 74 68 65 43 6f 6e 74 | 72 6f 6c 29 2c 26 69 52 |)theCont|rol),&iR|
|00002270| 65 63 74 29 3b 0d 09 09 | 09 53 65 74 43 74 6c 56 |ect);...|.SetCtlV|
|00002280| 61 6c 75 65 28 74 68 65 | 43 6f 6e 74 72 6f 6c 2c |alue(the|Control,|
|00002290| 28 47 65 74 43 74 6c 56 | 61 6c 75 65 28 74 68 65 |(GetCtlV|alue(the|
|000022a0| 43 6f 6e 74 72 6f 6c 29 | 3d 3d 30 29 29 3b 7d 0d |Control)|==0));}.|
|000022b0| 09 0d 09 7d 20 77 68 69 | 6c 65 20 28 28 69 74 65 |...} whi|le ((ite|
|000022c0| 6d 48 69 74 21 3d 32 29 | 20 26 26 20 28 69 74 65 |mHit!=2)| && (ite|
|000022d0| 6d 48 69 74 21 3d 33 29 | 29 3b 0d 09 0d 09 69 66 |mHit!=3)|);....if|
|000022e0| 20 28 69 74 65 6d 48 69 | 74 3d 3d 32 29 20 7b 0d | (itemHi|t==2) {.|
|000022f0| 09 09 47 65 74 44 49 74 | 65 6d 28 6f 70 74 44 69 |..GetDIt|em(optDi|
|00002300| 61 6c 6f 67 2c 37 2c 26 | 69 54 79 70 65 2c 26 28 |alog,7,&|iType,&(|
|00002310| 28 48 61 6e 64 6c 65 29 | 74 68 65 43 6f 6e 74 72 |(Handle)|theContr|
|00002320| 6f 6c 29 2c 26 69 52 65 | 63 74 29 3b 0d 09 09 74 |ol),&iRe|ct);...t|
|00002330| 77 65 6e 74 79 46 6f 75 | 72 3d 47 65 74 43 74 6c |wentyFou|r=GetCtl|
|00002340| 56 61 6c 75 65 28 74 68 | 65 43 6f 6e 74 72 6f 6c |Value(th|eControl|
|00002350| 29 21 3d 30 3b 0d 09 09 | 0d 09 09 47 65 74 44 49 |)!=0;...|...GetDI|
|00002360| 74 65 6d 28 6f 70 74 44 | 69 61 6c 6f 67 2c 38 2c |tem(optD|ialog,8,|
|00002370| 26 69 54 79 70 65 2c 26 | 28 28 48 61 6e 64 6c 65 |&iType,&|((Handle|
|00002380| 29 74 68 65 43 6f 6e 74 | 72 6f 6c 29 2c 26 69 52 |)theCont|rol),&iR|
|00002390| 65 63 74 29 3b 0d 09 09 | 73 68 6f 77 53 65 63 73 |ect);...|showSecs|
|000023a0| 3d 47 65 74 43 74 6c 56 | 61 6c 75 65 28 74 68 65 |=GetCtlV|alue(the|
|000023b0| 43 6f 6e 74 72 6f 6c 29 | 21 3d 30 3b 7d 0d 09 09 |Control)|!=0;}...|
|000023c0| 0d 09 44 69 73 70 6f 73 | 44 69 61 6c 6f 67 28 6f |..Dispos|Dialog(o|
|000023d0| 70 74 44 69 61 6c 6f 67 | 29 3b 0d 09 09 0d 09 7d |ptDialog|);.....}|
|000023e0| 0d 09 0d 76 6f 69 64 20 | 43 6c 6f 63 6b 48 61 6e |...void |ClockHan|
|000023f0| 64 6c 65 43 6f 6d 6d 61 | 6e 64 28 43 6f 6d 6d 61 |dleComma|nd(Comma|
|00002400| 6e 64 20 2a 74 68 65 43 | 6f 6d 6d 61 6e 64 29 0d |nd *theC|ommand).|
|00002410| 09 7b 0d 09 65 78 74 65 | 72 6e 09 44 69 61 6c 6f |.{..exte|rn.Dialo|
|00002420| 67 50 74 72 09 74 68 65 | 44 69 61 6c 6f 67 3b 0d |gPtr.the|Dialog;.|
|00002430| 09 65 78 74 65 72 6e 09 | 73 68 6f 72 74 09 6d 6f |.extern.|short.mo|
|00002440| 64 65 3b 0d 09 65 78 74 | 65 72 6e 09 53 74 72 32 |de;..ext|ern.Str2|
|00002450| 35 35 09 73 61 76 65 53 | 74 72 69 6e 67 3b 0d 09 |55.saveS|tring;..|
|00002460| 65 78 74 65 72 6e 09 54 | 69 6d 65 72 52 65 63 09 |extern.T|imerRec.|
|00002470| 74 69 6d 65 72 3b 0d 09 | 65 78 74 65 72 6e 09 57 |timer;..|extern.W|
|00002480| 61 74 63 68 09 73 74 6f | 70 77 61 74 63 68 3b 0d |atch.sto|pwatch;.|
|00002490| 09 65 78 74 65 72 6e 20 | 09 53 74 72 32 35 35 09 |.extern |.Str255.|
|000024a0| 74 68 65 44 69 73 70 6c | 61 79 3b 0d 09 52 65 63 |theDispl|ay;..Rec|
|000024b0| 74 09 09 09 09 62 6f 75 | 6e 64 73 3b 0d 09 50 6f |t....bou|nds;..Po|
|000024c0| 69 6e 74 09 09 09 09 6c | 6f 63 61 6c 50 74 3b 0d |int....l|ocalPt;.|
|000024d0| 09 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 09 |.unsigne|d short.|
|000024e0| 09 61 74 58 2c 63 6f 75 | 6e 74 3b 0d 09 75 6e 73 |.atX,cou|nt;..uns|
|000024f0| 69 67 6e 65 64 20 6c 6f | 6e 67 09 09 61 6d 6f 75 |igned lo|ng..amou|
|00002500| 6e 74 3b 0d 09 0d 09 73 | 77 69 74 63 68 20 28 74 |nt;....s|witch (t|
|00002510| 68 65 43 6f 6d 6d 61 6e | 64 2d 3e 74 68 65 54 79 |heComman|d->theTy|
|00002520| 70 65 29 20 7b 0d 09 63 | 61 73 65 20 27 63 6c 6f |pe) {..c|ase 'clo|
|00002530| 73 27 3a 0d 09 09 43 6c | 6f 63 6b 48 69 64 65 28 |s':...Cl|ockHide(|
|00002540| 29 3b 0d 09 09 62 72 65 | 61 6b 3b 0d 09 63 61 73 |);...bre|ak;..cas|
|00002550| 65 20 27 7a 6d 69 6e 27 | 3a 0d 09 63 61 73 65 20 |e 'zmin'|:..case |
|00002560| 27 7a 6f 75 74 27 3a 0d | 09 63 61 73 65 20 27 67 |'zout':.|.case 'g|
|00002570| 72 6f 77 27 3a 0d 09 09 | 43 6c 6f 63 6b 5a 6f 6f |row':...|ClockZoo|
|00002580| 6d 28 29 3b 0d 09 09 62 | 72 65 61 6b 3b 0d 09 63 |m();...b|reak;..c|
|00002590| 61 73 65 20 27 64 6f 77 | 6e 27 3a 0d 09 63 61 73 |ase 'dow|n':..cas|
|000025a0| 65 20 27 73 74 6f 70 27 | 3a 0d 09 63 61 73 65 20 |e 'stop'|:..case |
|000025b0| 27 64 61 74 65 27 3a 0d | 09 63 61 73 65 20 27 63 |'date':.|.case 'c|
|000025c0| 6c 6f 6b 27 3a 0d 09 09 | 69 66 20 28 74 68 65 43 |lok':...|if (theC|
|000025d0| 6f 6d 6d 61 6e 64 2d 3e | 74 68 65 54 79 70 65 20 |ommand->|theType |
|000025e0| 3d 3d 20 27 64 6f 77 6e | 27 29 20 6d 6f 64 65 3d |== 'down|') mode=|
|000025f0| 34 3b 0d 09 09 65 6c 73 | 65 20 69 66 20 28 74 68 |4;...els|e if (th|
|00002600| 65 43 6f 6d 6d 61 6e 64 | 2d 3e 74 68 65 54 79 70 |eCommand|->theTyp|
|00002610| 65 20 3d 3d 20 27 73 74 | 6f 70 27 29 20 6d 6f 64 |e == 'st|op') mod|
|00002620| 65 3d 33 3b 0d 09 09 65 | 6c 73 65 20 69 66 20 28 |e=3;...e|lse if (|
|00002630| 74 68 65 43 6f 6d 6d 61 | 6e 64 2d 3e 74 68 65 54 |theComma|nd->theT|
|00002640| 79 70 65 20 3d 3d 20 27 | 64 61 74 65 27 29 20 6d |ype == '|date') m|
|00002650| 6f 64 65 3d 32 3b 0d 09 | 09 65 6c 73 65 20 69 66 |ode=2;..|.else if|
|00002660| 20 28 74 68 65 43 6f 6d | 6d 61 6e 64 2d 3e 74 68 | (theCom|mand->th|
|00002670| 65 54 79 70 65 20 3d 3d | 20 27 63 6c 6f 6b 27 29 |eType ==| 'clok')|
|00002680| 20 6d 6f 64 65 3d 31 3b | 0d 09 09 62 6f 75 6e 64 | mode=1;|...bound|
|00002690| 73 20 3d 20 74 68 65 44 | 69 61 6c 6f 67 2d 3e 70 |s = theD|ialog->p|
|000026a0| 6f 72 74 52 65 63 74 3b | 0d 09 09 62 6f 75 6e 64 |ortRect;|...bound|
|000026b0| 73 2e 74 6f 70 20 3d 20 | 30 3b 0d 09 09 73 61 76 |s.top = |0;...sav|
|000026c0| 65 53 74 72 69 6e 67 5b | 30 5d 20 3d 20 30 3b 0d |eString[|0] = 0;.|
|000026d0| 09 09 45 72 61 73 65 52 | 65 63 74 28 26 62 6f 75 |..EraseR|ect(&bou|
|000026e0| 6e 64 73 29 3b 0d 09 09 | 62 72 65 61 6b 3b 0d 09 |nds);...|break;..|
|000026f0| 63 61 73 65 20 27 63 6c | 69 6b 27 3a 0d 09 09 69 |case 'cl|ik':...i|
|00002700| 66 20 28 28 6d 6f 64 65 | 3d 3d 33 29 20 7c 7c 20 |f ((mode|==3) || |
|00002710| 28 6d 6f 64 65 3d 3d 34 | 29 29 20 7b 0d 09 09 09 |(mode==4|)) {....|
|00002720| 47 65 74 4d 6f 75 73 65 | 28 26 6c 6f 63 61 6c 50 |GetMouse|(&localP|
|00002730| 74 29 3b 0d 09 09 09 0d | 09 09 09 53 65 74 52 65 |t);.....|...SetRe|
|00002740| 63 74 28 26 62 6f 75 6e | 64 73 2c 20 31 38 35 2c |ct(&boun|ds, 185,|
|00002750| 20 32 2c 20 32 30 34 2c | 20 32 35 29 3b 20 2f 2f | 2, 204,| 25); //|
|00002760| 20 63 68 65 63 6b 20 66 | 6f 72 20 61 6e 64 20 68 | check f|or and h|
|00002770| 61 6e 64 6c 65 20 63 6c | 69 63 6b 73 20 69 6e 20 |andle cl|icks in |
|00002780| 74 68 65 20 66 69 72 73 | 74 20 77 61 74 63 68 20 |the firs|t watch |
|00002790| 69 63 6f 6e 0d 09 09 09 | 69 66 20 28 50 74 49 6e |icon....|if (PtIn|
|000027a0| 52 65 63 74 28 6c 6f 63 | 61 6c 50 74 2c 20 26 62 |Rect(loc|alPt, &b|
|000027b0| 6f 75 6e 64 73 29 29 0d | 09 09 09 09 69 66 20 28 |ounds)).|....if (|
|000027c0| 6d 6f 64 65 3d 3d 33 29 | 0d 09 09 09 09 09 53 74 |mode==3)|......St|
|000027d0| 61 72 74 53 74 6f 70 77 | 61 74 63 68 28 29 3b 0d |artStopw|atch();.|
|000027e0| 09 09 09 09 65 6c 73 65 | 0d 09 09 09 09 09 53 74 |....else|......St|
|000027f0| 61 72 74 43 6f 75 6e 74 | 64 6f 77 6e 28 29 3b 0d |artCount|down();.|
|00002800| 09 09 09 09 09 0d 09 09 | 09 53 65 74 52 65 63 74 |........|.SetRect|
|00002810| 28 26 62 6f 75 6e 64 73 | 2c 20 32 31 30 2c 20 32 |(&bounds|, 210, 2|
|00002820| 2c 20 32 32 39 2c 20 32 | 35 29 3b 20 2f 2f 20 63 |, 229, 2|5); // c|
|00002830| 68 65 63 6b 20 66 6f 72 | 20 61 6e 64 20 68 61 6e |heck for| and han|
|00002840| 64 6c 65 20 63 6c 69 63 | 6b 73 20 69 6e 20 74 68 |dle clic|ks in th|
|00002850| 65 20 73 65 63 6f 6e 64 | 20 77 61 74 63 68 20 69 |e second| watch i|
|00002860| 63 6f 6e 0d 09 09 09 69 | 66 20 28 50 74 49 6e 52 |con....i|f (PtInR|
|00002870| 65 63 74 28 6c 6f 63 61 | 6c 50 74 2c 20 26 62 6f |ect(loca|lPt, &bo|
|00002880| 75 6e 64 73 29 29 0d 09 | 09 09 09 69 66 20 28 6d |unds))..|...if (m|
|00002890| 6f 64 65 3d 3d 33 29 0d | 09 09 09 09 09 52 65 73 |ode==3).|.....Res|
|000028a0| 65 74 53 74 6f 70 77 61 | 74 63 68 28 29 3b 0d 09 |etStopwa|tch();..|
|000028b0| 09 09 09 65 6c 73 65 0d | 09 09 09 09 09 52 65 73 |...else.|.....Res|
|000028c0| 65 74 43 6f 75 6e 74 64 | 6f 77 6e 28 29 3b 0d 09 |etCountd|own();..|
|000028d0| 09 09 09 09 0d 09 09 09 | 69 66 20 28 28 6d 6f 64 |........|if ((mod|
|000028e0| 65 3d 3d 34 29 26 26 28 | 21 74 69 6d 65 72 2e 73 |e==4)&&(|!timer.s|
|000028f0| 74 61 72 74 65 64 29 29 | 20 7b 20 2f 2f 20 63 68 |tarted))| { // ch|
|00002900| 65 63 6b 20 66 6f 72 20 | 61 6e 64 20 68 61 6e 64 |eck for |and hand|
|00002910| 6c 65 20 63 6c 69 63 6b | 73 20 69 6e 20 63 6f 75 |le click|s in cou|
|00002920| 6e 74 64 6f 77 6e 20 64 | 69 73 70 6c 61 79 20 28 |ntdown d|isplay (|
|00002930| 66 6f 72 20 73 65 74 74 | 69 6e 67 20 63 6f 75 6e |for sett|ing coun|
|00002940| 74 64 6f 77 6e 29 0d 09 | 09 09 09 43 6c 6f 63 6b |tdown)..|...Clock|
|00002950| 47 65 74 44 69 73 70 6c | 61 79 28 29 3b 0d 09 09 |GetDispl|ay();...|
|00002960| 09 09 61 74 58 20 3d 20 | 28 32 34 30 20 2d 20 28 |..atX = |(240 - (|
|00002970| 74 68 65 44 69 73 70 6c | 61 79 5b 30 5d 20 2a 20 |theDispl|ay[0] * |
|00002980| 31 31 29 29 20 2f 20 32 | 3b 0d 09 09 09 09 64 6f |11)) / 2|;.....do|
|00002990| 20 7b 0d 09 09 09 09 09 | 47 65 74 4d 6f 75 73 65 | {......|GetMouse|
|000029a0| 28 26 6c 6f 63 61 6c 50 | 74 29 3b 0d 09 09 09 09 |(&localP|t);.....|
|000029b0| 09 66 6f 72 20 28 63 6f | 75 6e 74 3d 31 3b 20 63 |.for (co|unt=1; c|
|000029c0| 6f 75 6e 74 20 3c 3d 20 | 74 68 65 44 69 73 70 6c |ount <= |theDispl|
|000029d0| 61 79 5b 30 5d 3b 20 63 | 6f 75 6e 74 2b 2b 29 20 |ay[0]; c|ount++) |
|000029e0| 7b 0d 09 09 09 09 09 09 | 53 65 74 52 65 63 74 28 |{.......|SetRect(|
|000029f0| 26 62 6f 75 6e 64 73 2c | 20 61 74 58 20 2b 20 28 |&bounds,| atX + (|
|00002a00| 31 31 20 2a 20 63 6f 75 | 6e 74 29 20 2d 20 31 30 |11 * cou|nt) - 10|
|00002a10| 2c 20 36 2c 20 61 74 58 | 20 2b 20 28 31 31 20 2a |, 6, atX| + (11 *|
|00002a20| 20 63 6f 75 6e 74 29 2c | 20 32 31 29 3b 0d 09 09 | count),| 21);...|
|00002a30| 09 09 09 09 69 66 20 28 | 50 74 49 6e 52 65 63 74 |....if (|PtInRect|
|00002a40| 28 6c 6f 63 61 6c 50 74 | 2c 20 26 62 6f 75 6e 64 |(localPt|, &bound|
|00002a50| 73 29 29 20 7b 0d 09 09 | 09 09 09 09 09 61 6d 6f |s)) {...|.....amo|
|00002a60| 75 6e 74 20 3d 20 30 3b | 0d 09 09 09 09 09 09 09 |unt = 0;|........|
|00002a70| 73 77 69 74 63 68 20 28 | 63 6f 75 6e 74 29 20 7b |switch (|count) {|
|00002a80| 0d 09 09 09 09 09 09 09 | 09 63 61 73 65 20 31 3a |........|.case 1:|
|00002a90| 0d 09 09 09 09 09 09 09 | 09 09 61 6d 6f 75 6e 74 |........|..amount|
|00002aa0| 20 3d 20 33 36 30 30 30 | 3b 0d 09 09 09 09 09 09 | = 36000|;.......|
|00002ab0| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 09 09 09 |...break|;.......|
|00002ac0| 09 09 63 61 73 65 20 32 | 3a 0d 09 09 09 09 09 09 |..case 2|:.......|
|00002ad0| 09 09 09 61 6d 6f 75 6e | 74 20 3d 20 33 36 30 30 |...amoun|t = 3600|
|00002ae0| 3b 0d 09 09 09 09 09 09 | 09 09 09 62 72 65 61 6b |;.......|...break|
|00002af0| 3b 0d 09 09 09 09 09 09 | 09 09 63 61 73 65 20 34 |;.......|..case 4|
|00002b00| 3a 0d 09 09 09 09 09 09 | 09 09 09 61 6d 6f 75 6e |:.......|...amoun|
|00002b10| 74 20 3d 20 36 30 30 3b | 0d 09 09 09 09 09 09 09 |t = 600;|........|
|00002b20| 09 09 62 72 65 61 6b 3b | 0d 09 09 09 09 09 09 09 |..break;|........|
|00002b30| 09 63 61 73 65 20 35 3a | 0d 09 09 09 09 09 09 09 |.case 5:|........|
|00002b40| 09 09 61 6d 6f 75 6e 74 | 20 3d 20 36 30 3b 0d 09 |..amount| = 60;..|
|00002b50| 09 09 09 09 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |........|break;..|
|00002b60| 09 09 09 09 09 09 09 63 | 61 73 65 20 37 3a 0d 09 |.......c|ase 7:..|
|00002b70| 09 09 09 09 09 09 09 09 | 61 6d 6f 75 6e 74 20 3d |........|amount =|
|00002b80| 20 31 30 3b 0d 09 09 09 | 09 09 09 09 09 09 62 72 | 10;....|......br|
|00002b90| 65 61 6b 3b 0d 09 09 09 | 09 09 09 09 09 63 61 73 |eak;....|.....cas|
|00002ba0| 65 20 38 3a 20 0d 09 09 | 09 09 09 09 09 09 09 61 |e 8: ...|.......a|
|00002bb0| 6d 6f 75 6e 74 20 3d 20 | 31 3b 0d 09 09 09 09 09 |mount = |1;......|
|00002bc0| 09 09 09 7d 0d 09 09 09 | 09 09 09 09 74 69 6d 65 |...}....|....time|
|00002bd0| 72 2e 63 6f 75 6e 74 44 | 6f 77 6e 20 3d 20 28 74 |r.countD|own = (t|
|00002be0| 69 6d 65 72 2e 63 6f 75 | 6e 74 44 6f 77 6e 20 2b |imer.cou|ntDown +|
|00002bf0| 20 61 6d 6f 75 6e 74 29 | 20 25 20 33 36 30 30 30 | amount)| % 36000|
|00002c00| 30 3b 0d 09 09 09 09 09 | 09 09 74 69 6d 65 72 2e |0;......|..timer.|
|00002c10| 73 74 61 72 74 54 69 63 | 6b 73 20 3d 20 30 3b 0d |startTic|ks = 0;.|
|00002c20| 09 09 09 09 09 09 09 44 | 72 61 77 43 6c 6f 63 6b |.......D|rawClock|
|00002c30| 42 6f 78 28 74 68 65 44 | 69 61 6c 6f 67 2c 20 31 |Box(theD|ialog, 1|
|00002c40| 29 3b 7d 0d 09 09 09 09 | 09 09 7d 0d 09 09 09 09 |);}.....|..}.....|
|00002c50| 09 7d 20 77 68 69 6c 65 | 20 28 42 75 74 74 6f 6e |.} while| (Button|
|00002c60| 28 29 29 3b 0d 09 09 09 | 09 7d 0d 09 09 09 7d 0d |());....|.}....}.|
|00002c70| 09 09 7d 0d 09 7d 0d 00 | 00 00 00 00 00 00 00 00 |..}..}..|........|
|00002c80| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00002c90| 00 ff f6 f6 f6 f6 f6 fb | 33 33 33 fb ff ff 00 00 |........|333.....|
|00002ca0| 00 ff f6 f6 f6 fb fb fb | fb fb 33 33 ff ff 00 00 |........|..33....|
|00002cb0| 0c 43 6c 6f 63 6b 55 74 | 69 6c 73 2e 63 ee 02 00 |.ClockUt|ils.c...|
|00002cc0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 00 8c |..TEXTCW|IE......|
|00002cd0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 00 8c |..TEXTCW|IE......|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 ae 40 bc a2 00 00 | 2b f7 00 00 01 9a 00 00 |...@....|+.......|
|00002d00| 00 ff f6 fb 69 69 69 69 | ff f6 f6 f6 f6 ff 00 00 |....iiii|........|
|00002d10| 00 ff f6 fb ff ff ff ff | ff f6 f6 f6 f6 ff 00 00 |........|........|
|00002d20| 00 ff f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 ff 00 00 |........|........|
|00002d30| 00 ff ff ff ff ff ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| ff ff ff c0 80 00 00 60 | 80 00 00 50 80 00 00 48 |.......`|...P...H|
|00002d60| 80 00 00 44 80 ff f8 42 | 80 80 08 7f 80 80 08 01 |...D...B|........|
|00002d70| 9f 80 0f f9 90 80 08 09 | 90 80 08 09 90 ff f8 09 |........|........|
|00002d80| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 03 | 00 04 00 5e 00 03 01 ce |........|...^....|
|00002db0| 02 62 00 5e 00 03 01 ce | 02 62 63 52 38 6c 00 00 |.b.^....|.bcR8l..|
|00002dc0| 01 4d 00 00 01 4d 00 00 | 02 13 01 00 00 00 00 04 |.M...M..|........|
|00002dd0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00002de0| 00 00 00 46 01 31 c1 1c | 1c a6 00 00 00 1c 00 46 |...F.1..|.......F|
|00002df0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00002e00| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00002e10| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+